<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
  </head>
  <body>
    <webview nodeintegration src="about:blank"></webview>
    <script>
        var wv = document.querySelector('webview')
        wv.addEventListener('dom-ready', () => {
          wv.openDevTools()
        })
      </script>
    </script>
  </body>
</html>
